(tramp-gvfs-connection-mounted-p): Use `elt' instead of `mount-info'.
authorJuri Linkov <juri@jurta.org>
Thu, 2 Jul 2009 22:48:59 +0000 (22:48 +0000)
committerJuri Linkov <juri@jurta.org>
Thu, 2 Jul 2009 22:48:59 +0000 (22:48 +0000)
lisp/net/tramp-gvfs.el

index e46727216d6900bf56d4e6510d77755f8f7949f7..9241541a8e25bd1cb1d9fd895f68b9da069f663c 100644 (file)
@@ -925,7 +925,7 @@ ADDRESS can have the form \"xx:xx:xx:xx:xx:xx\" or \"[xx:xx:xx:xx:xx:xx]\"."
         nil)
       ;; The interface of mount-info has been changed.  We must handle
       ;; both cases.
-      (let* ((last-nth (if (nth 9 mount-info) 9 8))
+      (let* ((last-nth (if (nth 9 elt) 9 8))
             (mount-spec (nth 1 (nth last-nth elt)))
             (method (dbus-byte-array-to-string
                      (cadr (assoc "type" mount-spec))))